<#if item.render??>
    ${item.render.code}
<#else>
<input-box 
  v-model="data.${editor.name}"  
  @enter="onEnter($event)"  
  <#if editor.getUnitName?? && editor.getUnitName()??>unit="${editor.getUnitName()}"</#if>
  :disabled="detailsModel.${editor.name}.disabled" 
  type='number' 
<#if item.getPSAppDEField()?? && item.getPSAppDEField().getPSDEField()?? && item.getPSAppDEField().getPSDEField().getPrecision??>
<#assign datatype = item.getPSAppDEField().getPSDEField().getDataType()>
  <#if datatype=='DOUBLE' || datatype=='DECIMAL' || datatype=='FLOAT' || datatype=='BIGDECIMAL'>
  <#if item.getPSAppDEField().getPSDEField().getPrecision() == 0>
  :precision="2"
  <#else>
  :precision="${item.getPSAppDEField().getPSDEField().getPrecision()?c}"
  </#if>
  </#if>
</#if>
  <#if editor.getPlaceHolder()??>placeholder="${editor.getPlaceHolder()}"</#if> 
  style="${editor.getEditorCssStyle()}">
</input-box>
</#if>